<?php
/* @var $this HrAdminGroupController */
/* @var $model HrAdminGroup */

$this->breadcrumbs=array(
	'Hr Admin Groups'=>array('index'),
	$model->name=>array('view','id'=>$model->id),
	'Update',
);

?>

<span class="page_h3">更新管理员组权限 <?php echo $model->id; ?></span>

<form action="#" method="post" id="form1">

    <table cellpadding="1" cellspacing="1" class="c_table">
        <tr class="r1" >
            <td class='c_row0' width="140" align="right">Name ：</td>
            <td width="450">
			<input type="text" name="name" class="small_input" value="<?php echo $model->name; ?>" />
            </td>
            <td class="red"></td>
        </tr>
        <tr class="r2">
            <td class='c_row0' align="right">Rights ：</td>
            <td>
            	<?php echo CHtml::checkBoxList('rights' ,$rightsArr ,$hrAdminRightOption ,array('onchange'=>'transfer.getUsersByDepartment()','class'=>'c_select')); ?>
            </td>
            <td class="red"></td>
        </tr>
        
        <tr class="r1">
            <td class='c_row0'></td>
            <td>
                <input type="hidden" name="id" id="id" value="<?php echo $model->id?>" />
                <input type="hidden" name="action" value="true" />
                <input type="hidden" value="<?php echo Yii::app()->request->csrfToken; ?>"  name="YII_CSRF_TOKEN" />
                <input type="submit" name="fsubmit" id="form_submit" class="button_grey" value=" 确 定 " />
                <input type="button" name="r" value=" 返 回 " class="button_grey" onclick="history.go(-1);" />
            </td>
            <td></td>
        </tr>
    </table>
</form>
